<template>
  <p>服务器id: {{ props.serverId }}</p>
  <p>频道id: {{ props.tcId }}</p>
</template>

<script setup lang="ts">
interface Props {
  serverId: string;
  tcId: string;
}

// 获取路由携带的服务器id
const props = withDefaults(defineProps<Props>(), {
  serverId: () => "",
  tcId: () => "",
});
</script>

<style scoped></style>
